<?php


namespace app\controller\admin\config;


use app\controller\admin\BaseAdminController;
use app\model\config\ConfigOrderSourceModel;

class ConfigOrderSourceController extends BaseAdminController
{

    function setModel()
    {
        return new ConfigOrderSourceModel();
    }

    function setWithModel()
    {

    }

    function setSearch()
    {
        // TODO: Implement setSearch() method.
    }

    function setSort()
    {
        return ['sort' => 'desc'];
    }

    public function getArr()
    {
        $arr = $this->setModel()->where('id', '>', 1)->select();
        return $this->success($arr);
    }
}